import request from '@/utils/request'

// 登录接口
export function login(data) {
    return request({
        url: '/recommendAdvertisting/login/userLogin',
        method: 'post',
        data: {
            account: data.username,
            password: data.password
        }
    })
}

// 获取站点数据
export function getSiteData() {
    return request({
        url: '/api/site/data',
        method: 'get'
    })
}

// 获取充电排行
export function getChargeRank() {
    return request({
        url: '/api/charge/rank',
        method: 'get'
    })
}

